<div class="mask-box">
  <%= form_tag("#{update_teacher_target_admin_targets_path}", remote:true)  do %>
  <div class="mask-head">
    <h4>指标设置</h4>
    <span></span>
  </div>
  <div class="mask-con">
    <div class="mask-marc">
      <ul>
        <li>
          <span>姓名:</span>
          <em><%= @employee.name %></em>
        </li>
        <li>
          <span>月份:</span>
          <em><%= Time.parse(@month).to_s(:friendly)%></em>
          <input type="hidden"  name="target_id" value="<%= @target.id %>"  />
          <%= hidden_field_tag :month, @month %>
        </li>
        <li>
          <span>职位:</span>
          <em><%= @target.employee_of_studio.position_configuration.position_name %></em>
        </li>
        <li class="chi-box">
          <span>指标设置:</span>
          <ul>
              <li>
                <input type="text"  name="amount" value="<%= @target.amount %>"  /> 元
              </li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
  <div ><%= submit_tag '确认', :class => "mask-confirm" %></div>
  <%end %>  
</div>
